Pain threshold index